package org.foreveross.que.web.controller.auth;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {

	@RequestMapping("/login")
	public String login() {
		System.out.println("-----------login------");
		return "login";
	}

	@SuppressWarnings("unused")
	@RequestMapping("/index")
	public String index() {
		System.out.println("-----------index------");
		HttpServletRequest req = ServletActionContext.getRequest();
		return "index";
	}

}
